package com.xy.service;

import com.xy.entity.ExhibitionEntity;
import com.xy.entity.GateEntity;
import com.xy.request.HeartbeatRequest;
import com.xy.response.GateResponse;
import com.xy.response.HeartbeatResponse;
import com.xy.response.PdaInittResponse;
import com.xy.vo.InitVO;
import org.springblade.core.tool.api.R;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import java.util.List;

/**
 * 核验基础
 */
public interface IInspectBaseService {

	/**
	 * 查询设备
	 * @param gateRef
	 * @return
	 */
	GateEntity getGateEntity(String gateRef);
	/**
	 * 通过门禁点查询关联展会
	 * @param piontId
	 * @return
	 */
	List<ExhibitionEntity> getListByPiontId(String piontId);

	InitVO getInit(String venueCode);

	GateResponse gataSave(String gateRef);

	GateResponse  positionGateRel(String gateRef,String positionCode );

	HeartbeatResponse getHeartbeat(HeartbeatRequest heartbeatRequest);

	PdaInittResponse padInit(String positionCode);
}
